package com.lawyer.repository;


import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

import com.lawyer.entity.view.OrderRecommendView;
import java.lang.String;
import java.util.List;

@RepositoryRestResource(exported = false)
public interface OrderRecommendViewRepository extends PagingAndSortingRepository<OrderRecommendView, Integer> , JpaSpecificationExecutor<OrderRecommendView> {
	
	Page<OrderRecommendView> findByMyIdAndOrderStatus(String myId,String orderStatus,Pageable pageable);
	List<OrderRecommendView> findByMyIdAndOrderStatus(String myId,String orderStatus);
}
